package com.kaka.bus.engine.home.info;

import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.bean.NamePhoneBean;
import com.kaka.bus.bean.ProductDetailBean;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

import java.util.List;

/**
 * Created by zhangqi on 2016/10/14.
 * e-mail : ${email}
 * desc :
 */

public interface InfoContract {

    interface View extends BaseView {
        void loadInfoSuccess(HttpWrapper<NamePhoneBean> wrapper);

        void registerProductSuccess(HttpWrapper<List<ProductDetailBean>> productDetail);
    }

    interface Presenter extends BasePresenter<View> {

        void loadNameAndPhone(String userId, String token);

        void getRegistProduct(String userId, String token);
    }

}
